# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=gio-qt
pkgver=0.0.11
pkgrel=1
pkgdesc='Gio wrapper for Qt applications'
arch=('loong64' 'x86_64')
url="https://github.com/linuxdeepin/gio-qt"
license=('LGPL3')
depends=('glibmm' 'qt5-base')
makedepends=('cmake')
source=("https://github.com/linuxdeepin/gio-qt/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('3218730a0b6a8ebffdbca3037a686e43f54df0c9a2f8127f07e3c58d3b8f2f0ac4b263f70330dc3d846a27c75ba04e4858c07f7f83e8a520622d0f8f00e76556')

build() {
  cd gio-qt-$pkgver
  cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DOCS=OFF .
  make
}

package() {
  cd gio-qt-$pkgver
  make DESTDIR="$pkgdir" install
}
